package com.starry.Spring5Demo;

public class Book2 {
    private String bName;
    private String bAuthor;

    public void setbName(String bName) {
        this.bName = bName;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    public void TestBook(){
        System.out.println("名称"+bName+"::作者"+bAuthor);

    }
}
